import {createRouter, createWebHistory} from 'vue-router'
import SongLibrary from '../views/nosongLibrary.vue'
import songLibrary from '../views/songLibrary.vue'
import noexamine from '../views/noexamine.vue'
import Login from '../views/login.vue'
import SignUp from '../views/SginUp.vue'
import Home from '../views/Home.vue'
import songExamine from '../views/songExamine.vue'
import singerExamine from '../views/singerExamine.vue'
import songME from "@/components/songME.vue";
import singerME from "@/components/singerME.vue";

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes: [
        {
            path: '/',
            name: 'Home',
            component: Home
        },
        {
            path: '/songExamine',
            name: 'songExamine',
            component: songExamine
        },
        {
            path: '/singerExamine',
            name: 'singerExamine',
            component: singerExamine
        },
        {
            path: '/songLibrary',
            name: 'songLibrary',
            component: songLibrary
        },
        {
            path: '/noexamine',
            name: 'noexamine',
            component: noexamine
        },
        {
            path: '/login',
            name: 'Login',
            component: Login
        },
        {
            path: '/SignUp',
            name: 'SignUp',
            component: SignUp
        },
        {
            path: '/songME',
            name: 'songME',
            component: songME
        },
        {
            path: '/singerME',
            name: 'singerME',
            component: singerME
        },
    ]
})

export default router
